fs/xfs: Propagate incorrect inode error from grub_xfs_read_inode
authorEgor Ignatov <egori@altlinux.org>
Thu, 23 Jan 2025 17:44:15 +0000 (20:44 +0300)
committerJulian Andres Klode <jak@debian.org>
Sun, 2 Nov 2025 11:08:11 +0000 (12:08 +0100)
commit7555970ec157d997e50b7295ff1b6a0c488eca6c
treecbe6aab1b9bb8c94abea7e3388dba723db9b53a3
parent599e6fc834b8ba6dd64304da48c84fbcf5f7adf8
fs/xfs: Propagate incorrect inode error from grub_xfs_read_inode

The incorrect inode error from grub_xfs_read_inode did not propagate because
grub_print_error() resetted grub_errno, and grub_xfs_iterate_dir() did not
handle it at all.

Signed-off-by: Egor Ignatov <egori@altlinux.org>
Gbp-Pq: Topic upstream
Gbp-Pq: Name fs-xfs-Propagate-incorrect-inode-error-from-grub_xfs_read.patch
grub-core/fs/xfs.c